<div class="pageContent">
    <form method="post" action="${rc.getContextPath()}/manage/service/saveOrUpdateService" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent" layoutH="56">
        <input type="hidden" name="navTabId" value="${navTabId!''}">
        <input type="hidden" name="id" value="<#if (service.id)??>${service.id!''}</#if>">
        <fieldset>
        <dl>
            <dt><@label key='service_name.C,colon'>服务名称：</@label></dt>
            <dd><input name="serviceName"   value="<#if (service.serviceName)??>${service.serviceName!''}</#if>" size="32"  type="text" maxlength="32" readonly="readonly"/></dd>
        </dl>
        <dl>
            <dt><@label key='service_code.C,colon'>服务标识：</@label></dt>
            <dd><input name="serviceCode"   value="<#if (service.serviceCode)??>${service.serviceCode!''}</#if>" size="32"  type="text" maxlength="32" readonly="readonly"/></dd>
        </dl>
        <dl>
            <dt><@label key='service_bizPackage.C,colon'>所属业务包：</@label></dt>
            <dd><input name="bizPackage"  value="<#if (service.bizPackage)??>${service.bizPackage!''}</#if>" size="32"  type="text" maxlength="64" readonly="readonly"/></dd>
        </dl>
        <dl>
            <dt>url：</dt>
            <dd><input name="url"  value="<#if (service.url)??>${service.url!''}</#if>" size="32"  type="text" readonly="readonly"/></dd>
        </dl>
        <dl>
            <dt><@label key='serviceType.C,colon'>服务类型：</@label></dt>
            <dd><select name="type" class="required" id="enable" disabled="disabled">                
                    <#if ecodes?? && service.type> 
                       <#list ecodes as ecode>
				 	     <option value="${ecode.eCode!''}" <#if (service.type)?? && (service.type ==ecode.eCode )> selected</#if>>${ecode.eCodeText!''}</option> 
				 	   </#list> 
			 	   </#if>
            </select></dd>
        </dl>
        <dl>
            <dt><@label key='service_status.C,colon'>状态：</@label></dt>
            <dd><select name="status" class="required" id="enable" disabled="disabled">                
                    <option value="0" <#if (service.status)?? && (service.status == '0')> selected</#if>><@label key='enable.C'>启用</@label></option>
                    <option value="1" <#if (service.status)?? && (service.status == '1')> selected</#if>><@label key='disable.C'>禁用</@label></option>
            </select></dd>
        </dl>
        <dl class="nowrap">
            <dt><@label key='service_inparam.C,colon'>输入参数：</@label></dt>
            <dd><textarea name="inParam" rows="2" cols="80"  readonly="readonly"><#if (service.inParam)??>${service.inParam!''}</#if></textarea></dd>
        </dl>
        <dl class="nowrap">
            <dt><@label key='service_returnval.C,colon'>返回值：</@label></dt>
            <dd><textarea name="returnVal" rows="2" cols="80" readonly="readonly"><#if (service.returnVal)??>${service.returnVal!''}</#if></textarea></dd>
        </dl>
        <dl class="nowrap">
            <dt><@label key='description.C,colon'>描述：</@label></dt>
            <dd><textarea name="desc" rows="3" cols="80" readonly="readonly"><#if (service.desc)??>${service.desc!''}</#if></textarea></dd>
        </dl>
        </fieldset>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive"><div class="buttonContent"><button type="button" class="close"><@label key='close.B'>关闭</@label></button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
